package org.xzx.shop_api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xzx.shop_api.entity.District;
import org.xzx.shop_api.mapper.DistrictMapper;
import org.xzx.shop_api.service.DistrictService;

import java.util.List;
@Service
public class DistrictServiceImpl implements DistrictService {
    @Autowired
    private DistrictMapper districtMapper;
    @Override
    public List<District> getDistrictpId(int pid) {
        return districtMapper.getDistrictpId(pid);
    }
}
